package com.sec.android.app.myfiles.shadow.custom;

import com.sec.android.app.myfiles.info.AppFeatures;

import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

/**
 * Created by jaebae on 2016-07-01.
 */
@Implements(AppFeatures.class)
public class ShadowAppFeatures {
    public static boolean mAndroidForWork = true;
    public static boolean mIsKnox = true;
    public static boolean mIsKnoxDeskTop = false;
    public static boolean  mIsTablet = false;

    public static void init() {
        mAndroidForWork = true;
        mIsKnox = true;
        mIsKnoxDeskTop = false;
        mIsTablet = false;
    }

    @Implementation
    public static boolean isAndroidForWork() {
        return mAndroidForWork;
    }

    @Implementation
    public static boolean isKnox() {
        return mIsKnox;
    }

    public static boolean isKnoxDesktop() {
        return mIsKnoxDeskTop;
    }

    public static boolean isTablet() {
        return mIsTablet;
    }
}
